WebAudioDomain

class WebAudioDomain : Domain

This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/

This API is marked as experimental in protocol definition and can change in the future.

Functions

audioListenerCreated
Link copied to clipboard
fun audioListenerCreated(): Flowable<AudioListenerCreatedEvent>
Notifies that the construction of an AudioListener has finished.
audioListenerWillBeDestroyed
Link copied to clipboard
fun audioListenerWillBeDestroyed(): Flowable<AudioListenerWillBeDestroyedEvent>
Notifies that a new AudioListener has been created.
audioNodeCreated
Link copied to clipboard
fun audioNodeCreated(): Flowable<AudioNodeCreatedEvent>
Notifies that a new AudioNode has been created.
audioNodeWillBeDestroyed
Link copied to clipboard
fun audioNodeWillBeDestroyed(): Flowable<AudioNodeWillBeDestroyedEvent>
Notifies that an existing AudioNode has been destroyed.
audioParamCreated
Link copied to clipboard
fun audioParamCreated(): Flowable<AudioParamCreatedEvent>
Notifies that a new AudioParam has been created.
audioParamWillBeDestroyed
Link copied to clipboard
fun audioParamWillBeDestroyed(): Flowable<AudioParamWillBeDestroyedEvent>
Notifies that an existing AudioParam has been destroyed.
contextChanged
Link copied to clipboard
fun contextChanged(): Flowable<ContextChangedEvent>
Notifies that existing BaseAudioContext has changed some properties (id stays the same)..
contextCreated
Link copied to clipboard
fun contextCreated(): Flowable<ContextCreatedEvent>
Notifies that a new BaseAudioContext has been created.
contextWillBeDestroyed
Link copied to clipboard
fun contextWillBeDestroyed(): Flowable<ContextWillBeDestroyedEvent>
Notifies that an existing BaseAudioContext will be destroyed.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables the WebAudio domain.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables the WebAudio domain and starts sending context lifetime events.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
getRealtimeData
Link copied to clipboard
fun getRealtimeData(input: GetRealtimeDataRequest): Single<GetRealtimeDataResponse>
Fetch the realtime data from the registered contexts.
name
Link copied to clipboard
fun name(): String
Returns domain name.
nodeParamConnected
Link copied to clipboard
fun nodeParamConnected(): Flowable<NodeParamConnectedEvent>
Notifies that an AudioNode is connected to an AudioParam.
nodeParamDisconnected
Link copied to clipboard
fun nodeParamDisconnected(): Flowable<NodeParamDisconnectedEvent>
Notifies that an AudioNode is disconnected to an AudioParam.
nodesConnected
Link copied to clipboard
fun nodesConnected(): Flowable<NodesConnectedEvent>
Notifies that two AudioNodes are connected.
nodesDisconnected
Link copied to clipboard
fun nodesDisconnected(): Flowable<NodesDisconnectedEvent>
Notifies that AudioNodes are disconnected.

Sources

jvm source
Link copied to clipboard